<div class="info">
<h1 class="font_h1">Change Password</h1>
<?php if(isset($error))  : ?>
<h2 class="error_red"><?php echo $error;?></h2>
<?php endif;?>
<form action="<?php echo base_url().'admin/setting/change_password'?>" method="POST" enctype="multipart/form-data" id="frm_add">
<table class="table1">
    <tr>
                <td width="20%">Old Password: </td>
                <td width="80%">
                <input type="password" name="txt_old_pass" style="width:200px" value="<?php echo set_value('txt_old_pass')?>"  />
                   
                </td>
    </tr>  
    <tr>
                <td width="20%"></td>
                <td width="80%">
                	<span style="background: red;width:200px"><?php echo form_error('txt_old_pass');?></span>
                </td>
    </tr> 
     <tr>
                <td width="20%">New Password: </td>
                <td width="80%">
                <input type="password" name="txt_new_pass" style="width:200px" value="<?php echo set_value('txt_new_pass')?>"  />
                   
                </td>
    </tr> 
    <tr>
                <td width="20%"></td>
                <td width="80%">
                	<span style="background: red;width:200px"><?php echo form_error('txt_new_pass');?></span>
                </td>
    </tr>   
     <tr>
                <td width="20%">Confirm new Password: </td>
                <td width="80%">
                <input type="password" name="txt_confirm_pass" style="width:200px" value="<?php echo set_value('txt_confirm_pass')?>"  />
                   
                </td>
    </tr>  
    <tr>
                <td width="20%"></td>
                <td width="80%">
                	<span style="background: red;width:200px"><?php echo form_error('txt_confirm_pass');?></span>
                </td>
    </tr>  
    <tr>
                
    </tr>
    
    <tr>
                <td width="20%"></td>
                <td width="80%">
                <a  class="button" onclick="$('#frm_add').submit()" href="javascript:void(0)">Lưu lại</a>
                </td>
    </tr>
</table>
</form>
</div>